<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>PintarOS: apdu_res_struct Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PintarOS
   </div>
   <div id="projectbrief">Operating System for Smart Card</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">apdu_res_struct Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>structure of APDU resources  
 <a href="structapdu__res__struct.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="pintaros_8h_source.html">pintaros.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a8b56b308185f6f4d67a9e71eeecbb2a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b56b308185f6f4d67a9e71eeecbb2a4"></a>
<a class="el" href="pintaros_8h.html#aaf0f0cca584c8202c7ee0f4a368bdd50">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#a8b56b308185f6f4d67a9e71eeecbb2a4">CLA</a></td></tr>
<tr class="memdesc:a8b56b308185f6f4d67a9e71eeecbb2a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class of instruction. <br/></td></tr>
<tr class="separator:a8b56b308185f6f4d67a9e71eeecbb2a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45e72c0350687c473e0184cc97898011"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45e72c0350687c473e0184cc97898011"></a>
<a class="el" href="pintaros_8h.html#aaf0f0cca584c8202c7ee0f4a368bdd50">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#a45e72c0350687c473e0184cc97898011">INS</a></td></tr>
<tr class="memdesc:a45e72c0350687c473e0184cc97898011"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instruction code. <br/></td></tr>
<tr class="separator:a45e72c0350687c473e0184cc97898011"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2bd2f173dec33aedefe14b9abab4102"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac2bd2f173dec33aedefe14b9abab4102"></a>
<a class="el" href="pintaros_8h.html#aaf0f0cca584c8202c7ee0f4a368bdd50">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#ac2bd2f173dec33aedefe14b9abab4102">P1</a></td></tr>
<tr class="memdesc:ac2bd2f173dec33aedefe14b9abab4102"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameter 1. <br/></td></tr>
<tr class="separator:ac2bd2f173dec33aedefe14b9abab4102"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a912708c4d4b304affb4c0e4b95d653cb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a912708c4d4b304affb4c0e4b95d653cb"></a>
<a class="el" href="pintaros_8h.html#aaf0f0cca584c8202c7ee0f4a368bdd50">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#a912708c4d4b304affb4c0e4b95d653cb">P2</a></td></tr>
<tr class="memdesc:a912708c4d4b304affb4c0e4b95d653cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameter 2. <br/></td></tr>
<tr class="separator:a912708c4d4b304affb4c0e4b95d653cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8309a32a5fa2c72b476076952b2c5c1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8309a32a5fa2c72b476076952b2c5c1"></a>
<a class="el" href="pintaros_8h.html#aaf0f0cca584c8202c7ee0f4a368bdd50">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#ab8309a32a5fa2c72b476076952b2c5c1">cmd_data</a> [<a class="el" href="pintaros_8h.html#a87f68e96fb938eddc39ad1f19d923a96">MAX_DATA_SIZE</a>]</td></tr>
<tr class="memdesc:ab8309a32a5fa2c72b476076952b2c5c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">buffer for command data <br/></td></tr>
<tr class="separator:ab8309a32a5fa2c72b476076952b2c5c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95938a3507dd509b9521dadf4b19c689"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a95938a3507dd509b9521dadf4b19c689"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#a95938a3507dd509b9521dadf4b19c689">cmd_data_len</a></td></tr>
<tr class="memdesc:a95938a3507dd509b9521dadf4b19c689"><td class="mdescLeft">&#160;</td><td class="mdescRight">length of command data <br/></td></tr>
<tr class="separator:a95938a3507dd509b9521dadf4b19c689"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b57ed648d723bd33661b8c9738a8ad3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b57ed648d723bd33661b8c9738a8ad3"></a>
<a class="el" href="pintaros_8h.html#aaf0f0cca584c8202c7ee0f4a368bdd50">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#a3b57ed648d723bd33661b8c9738a8ad3">rsp_data</a> [<a class="el" href="pintaros_8h.html#a87f68e96fb938eddc39ad1f19d923a96">MAX_DATA_SIZE</a>]</td></tr>
<tr class="memdesc:a3b57ed648d723bd33661b8c9738a8ad3"><td class="mdescLeft">&#160;</td><td class="mdescRight">buffer for response data <br/></td></tr>
<tr class="separator:a3b57ed648d723bd33661b8c9738a8ad3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea1e2327c56e7705b0a4d845392e6df"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abea1e2327c56e7705b0a4d845392e6df"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#abea1e2327c56e7705b0a4d845392e6df">rsp_data_len</a></td></tr>
<tr class="memdesc:abea1e2327c56e7705b0a4d845392e6df"><td class="mdescLeft">&#160;</td><td class="mdescRight">length of response data <br/></td></tr>
<tr class="separator:abea1e2327c56e7705b0a4d845392e6df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac5dc6f8e75db39295f3f7360510db28"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac5dc6f8e75db39295f3f7360510db28"></a>
<a class="el" href="response_8h.html#a0b9384277369e8c36725467bb40194d8">rspn_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#aac5dc6f8e75db39295f3f7360510db28">rspn</a></td></tr>
<tr class="memdesc:aac5dc6f8e75db39295f3f7360510db28"><td class="mdescLeft">&#160;</td><td class="mdescRight">response type code <br/></td></tr>
<tr class="separator:aac5dc6f8e75db39295f3f7360510db28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63dd56dfbd4de17b7c2240b452265fde"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63dd56dfbd4de17b7c2240b452265fde"></a>
<a class="el" href="pintaros_8h.html#aaf0f0cca584c8202c7ee0f4a368bdd50">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapdu__res__struct.html#a63dd56dfbd4de17b7c2240b452265fde">rsp_xtra_param</a></td></tr>
<tr class="memdesc:a63dd56dfbd4de17b7c2240b452265fde"><td class="mdescLeft">&#160;</td><td class="mdescRight">extra parameter for response (SW2) if needed <br/></td></tr>
<tr class="separator:a63dd56dfbd4de17b7c2240b452265fde"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>structure of APDU resources </p>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/<a class="el" href="pintaros_8h_source.html">pintaros.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jul 10 2013 16:42:56 for PintarOS by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
